import { App } from 'vue'

import VueMarkdownEditor from './mdEditor/Index'

const pluginList = [VueMarkdownEditor]
const plugins = {
  install(app: App<Element>) {
    Object.entries(pluginList).forEach(([, v]) => {
      app.use(v)
    })
  }
}

export default plugins
